<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tag" uri="surveyonline-taglib" %> 

<%@ page import="fr.univ.surveyonline.model.allEnum.Categorie" %>
<%@ page import="fr.univ.surveyonline.model.allEnum.Region" %>
<%@ page import="java.util.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
    <title><tag:languageTag id="title"/></title>
	<%@ include file="/layout/head.tag" %>
	<script type='text/javascript' src='js/check-actions/main.js'></script>
</head>
<body>

<div id="global">
	<div id="entete">
		<%@ include file="/layout/menu.tag" %>
	</div>
	<div id="contenu">
		
		<h2><tag:languageTag id="connex_connexion"/></h2>
		<div id="gui-ext-survey-properties"></div>
		
			<form action="/connexion" onsubmit="check_connexion();return false;" method="post" name="formulaire">
			<div id="connexion" class="float-left">
				<h3><tag:languageTag id="connex_ident"/></h3>
				<span style='color:#be2f00' id="error">
				<% if (request.getAttribute("messageConnexion") != null) {
						out.print(request.getAttribute("messageConnexion")); 
					}
				%>	
				</span>
				<ul>
					<li>
						<p>
							<label style = "color:white"><tag:languageTag id="connex_log"/></label>
							<input id="login" name="login" type="text" size="22"/>
						</p>
					</li>
					<li>
						<p>
							<label style = "color:white"><tag:languageTag id="connex_password"/></label>
							<input id="password" name="password" type="password" size="22"/>
						</p>
					</li>
				</ul>
			<input type="submit" value="<tag:languageTag id="connex_connect"/>" />
			<br/><br/><br/>
			<br/>
			<a href="/inscription.jsp"><tag:languageTag id="connex_inscription"/></a>
			</div>
			</form>
			
			<img alt="connexion" src="images/User_connect.png" style="margin-left:50px"/>

		<div class="clear"></div>
	</div>
	<div id="pied">
		<%@ include file="/layout/pied.tag" %>
	</div>
</div>

</body>
</html>